Fine-grained shared multi-tenant de-duplication system

ABSTRACT

In one example, a method includes receiving, at a cloud storage site, chunks that each take the form of a hash of a combination that includes two or more salts and a file object, and one of the salts is a retention salt shared by the chunks, monitoring a time period associated with the retention salt, when the time period has expired, removing the chunks that include the retention salt, and depositing the removed chunks in a deleted items cloud store.

RELATED APPLICATIONS

This application is a continuation of, and hereby claims priority to,U.S. patent application Ser. No. 14/870,407, entitled FINE-GRAINEDSHARED MULTI-TENANT DE-DUPLICATION SYSTEM, filed Sep. 30, 2015. Thisapplication is also is related to U.S. patent application Ser. No.14/870,565, entitled USER-LEVEL PROCESSES IN A SHARED MULTI-TENANTDE-DUPLICATION SYSTEM, filed Sep. 30, 2015. All of the aforementionedapplications are incorporated herein in their respective entireties bythis reference.

FIELD OF THE INVENTION

Embodiments of the present invention generally concern data backup andrestoration. More particularly, at least some embodiments of theinvention relate to systems, hardware, computer-readable media, andmethods directed to identification, on a user basis, of user consumptionof services, such as deduplication services.

BACKGROUND

Entities often generate and use data that is important in some way totheir operations. This data can include, for example, business data,financial data, and personnel data. If this data were lost orcompromised, the entity may realize significant adverse financial andother consequences. Accordingly, many entities have chosen to back upsome or all of their data so that in the event of a natural disaster,unauthorized access, or other events, the entity can recover any datathat was compromised or lost, and then restore that data to one or morelocations, machines, and/or environments.

While data backup is a valuable and important function, the everincreasing volume of data that is generated presents significantproblems. In particular, many companies today find their backup andrecovery process strained as data growth in enterprise IT environmentcontinues to accelerate at exponential rates, while data-protectionsolutions have struggled to keep pace. Backup performance is crippled bythe needs of up-to-date and online business applications.

In challenging environments such as these, attention has turned todeduplication solutions that can use storage space more efficiently byavoiding the storage of duplicate data. Many deduplication systems areglobal in scope, in that they identify and eliminate duplicate dataacross multiple users in a domain. That is, global deduplication systemsare shared among multiple users, and are configured and operate to treatall data sets equally. In this way, an enterprise is able to takeadvantage of commonality among the various user data sets.

However, with the increasing popularity of Information Technology as aService (ITaaS) models, enterprises are increasingly being asked toattribute the cost of IT services to end users, that is, consumers. Toachieve this for global deduplication systems, IT services must offershow back capabilities that attribute consumption of deduplicationservices to the data of an individual user. The show back capabilities,in turn, enable charge back, that the ability to bill the user based ontheir indicated use of deduplication services. However, implementationof effective and accurate show back and charge back functions has notbeen achieved in typical deduplication systems. This is due at least inpart to the fact that global deduplication systems and services are notdesigned to distinguish between different users in this way. Thus, whileattempts have been made to adapt global deduplication to provide showback and charge back capabilities, such attempts have been largelyunsuccessful.

Nonetheless, the need to be able to attribute deduplication costs tousers, and the need to recover those costs, persist. Thus, manyenterprises and service providers have resorted to show back models thatrely on measuring the pre-compressed capacity consumed by the userobjects. These metrics are recorded in the file system namespace whichcan be processed quickly and efficiently. While this approach isrelatively easy to implement and administer, it is unable to quantifythe effectiveness of the deduplication system relative to the objects ofan individual user. Rather, all users are treated equally with respectto the effectiveness, or lack thereof, of the data reduction techniques.That is, the value provided by the deduplication system to any givenuser cannot be readily determined. Thus, while the value provided by thededuplication system can vary from one user to another user, all theusers are treated as having received the same value. One result of thisis that users who receive relatively less value effectively subsidizethe users to whom relatively more value is provided.

As well, at least some deduplication systems are vulnerable toexploitation by users. For example, many users recognize that bypre-compressing data before sending the data to the deduplicationsystem, they are able to reduce the amount of logical capacity consumed,which substantially reduces the users show back measure and,accordingly, the cost charged to the user. For the IT service provider,this is detrimental to the economics of the deduplication system and theshow back cost model, which assumes an average level of deduplicationfor each of a plurality of users.

In light of problems and shortcomings such as those noted above, itwould be useful to be able to measure, on a user basis, backend storageconsumption for objects quickly and efficiently for a large number ofusers and for any low-end or high-end deduplication system.Correspondingly, it would be useful to be able to accurately attributeand bill, on a user basis, consumption of deduplication services. Aswell, it would be useful to be able to implement a deduplication systemthat is not easily exploited by users.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to describe the manner in which at least some aspects of thisdisclosure can be obtained, a more particular description will berendered by reference to specific embodiments thereof which areillustrated in the appended drawings. Understanding that these drawingsdepict only example embodiments of the invention and are not thereforeto be considered to be limiting of its scope, embodiments of theinvention will be described and explained with additional specificityand detail through the use of the accompanying drawings, in which:

FIG. 1 is directed to aspects of various example operating environmentsfor at least some embodiments;

FIG. 2 discloses aspects of an example host configuration;

FIG. 3 is directed to examples of salted content and some associatedprocesses;

FIG. 4 discloses aspects of a process and configuration for user-leveldata isolation;

FIG. 5 discloses aspects of a process and configuration for user-leveldata encryption;

FIG. 6 discloses aspects of a process and configuration for salting dataon one or more bases in addition to, or instead of, a user basis; and

FIG. 7 discloses aspects of a process and configuration for scrubbingdata chunks in a cloud store that includes one or more salteddeduplication domains

DETAILED DESCRIPTION OF SOME EXAMPLE EMBODIMENTS

At least some embodiments of the invention relate to systems, hardware,computer-readable media, and methods directed to identification, on auser basis, of user consumption of services, such as deduplicationservices in which user data may be deduplicated before, or after, beingbacked up. The deduplicated backup data can later be retrieved andrestored to one or more targets.

It should be understood that the term ‘backup,’ as used herein, isintended to be broadly construed and is not limited to any particulartype or form of backup. Thus, backup, as contemplated by thisdisclosure, embraces, but is not limited to, full backups, snapshots,replication, incremental backups, de-duplicated backups, and any othercircumstance or process where data that is desired to be protected iscopied to one or more backup resources for protection.

In at least some implementations, user level content salting is employedin which each user is assigned a unique system-wide marker, which may bereferred to herein as a salt, that persists as long as the user existsin the system. Each time that user connects to the system, the saltassigned to that user is obtained and the salt is then associated withany data generated by that user. Data generated by, or at the directionof, a user may be referred to herein as taking the form of chunks ofdata. However, it should be understood that the scope of the inventionis not limited to any particular type, combination or size of data.

With regard to one particular embodiment, data generated by the user areappended, or prepended, as the case may be, with the salt that has beenassigned to that user. Once the salt has been associated with the userdata, the combination of the user data and the salt is used to generatea hash. Because this hash includes the user specific salt, the hash ofthe data+salt combination is also specific to that user. The salt canthen be recorded both against the namespace of the user object thatincludes the data that was hashed, and against the hash itself.

In operation, any common chunk or other piece of user data that isgenerated in a subsequent stream by the same user will compute the samehash with the same content salt. Thus, duplicate data can be readilyidentified by comparing a new hash with existing hashes for the sameuser and, where the new and existing hashes match, the data that servedas the basis for the new hash can be eliminated. Because deduplicationis performed at the user level in the deduplication environment ordomain, it is possible, for example, that two different users may storeidentical blocks of data, although the content salts of the respectiveusers ensures that the two identical blocks will not share the samepersistent storage address space.

Advantageously then, embodiments of the invention provide the ability toperform user-specific deduplication in a deduplication environment. Thatis, embodiments of the invention enable the creation of user-leveldeduplication domains within a deduplication environment that is sharedby multiple users. As well, this deduplication can be performed at anydesired granularity, one example of which is the user object level.Moreover, the deduplication can be performed locally at the user, sothat duplicates are eliminated before the data is transferred across acloud connection for backup. Finally, in some embodiments, a hybridapproach can be employed in which both user-level deduplication andglobal deduplication can be performed in the same deduplicationenvironment. The user-level deduplication can be directed to one type orset of user data, while the global deduplication can be directed to asecond type or set of user data.

A. Example Operating Environments

In general, embodiments of the invention may include and/or beimplemented in an operating environment that includes one or moreclients that include data that is desired to be protected in some way.The clients can communicate with a backup server and may include one ormore applications which generate, and/or cause the generation of, datawhich is desired to be backed up for later restoration to the clientand/or one or more other target machines. The clients and the targetmachines can be physical machines or virtual machines (VM), thoughneither type of machine is required for any embodiment. As used herein,the term ‘data’ is intended to be broad in scope and embraces, by way ofexample and not limitation, data chunks, data blocks, atomic data,emails, objects of any type, files, contacts, directories, volumes, andany group of one or more of the foregoing.

With the foregoing in mind, attention is directed now to FIG. 1 whichdiscloses one example of an operating environment that may be suitablefor one or more embodiments of the invention. In FIG. 1 , the exampleoperating environment is denoted at 100 and may be a network such as alocal area network, a wide area network, or any other networkedconfiguration. Moreover, the operating environment 100, or any group ofone or more of its elements, may comprise, form an element of, orconstitute, a cloud computing environment. The operating environment 100may include various devices including servers and other computingdevices that are interconnected. The operating environment 100 mayemploy a variety of communication media, such as hardwire, wireless, orsome combination thereof. In some instances, some or all of theoperating environment 100 may comprise an optical communication network.

As indicated in FIG. 1 , the example operating environment 100 includesa backup server 200 configured for communication with a deduplicationserver 250, one or more clients 300, and a storage node 400 that maycomprise an element of a cloud computing environment. The deduplicationserver 250 and backup server 200 may collectively define a deduplicationenvironment 350 although, as noted herein, the deduplication environment350 can take other forms as well. The deduplication environment 350 mayreside at the same physical premises as one or more of the clients 300,although that is not required. It should be noted that, more generally,the deduplication environment refers to any environment in whichdeduplication is performed and, as such, the scope of the invention isnot limited to the example of FIG. 1 .

In some embodiments, the respective functionalities of the deduplicationserver 250 and backup server 200 may be combined in a single server. Inyet other environments, the deduplication server 250 is omitted andrespective instances of a deduplication application 252 reside on one ormore of the clients 300, each of which communicates with the backupserver 200. In this example, the deduplication environment 350 comprisesthe group of clients 300 on which the deduplication application 252resides. The deduplication server 250 may further include a scheduler254 and a tiering engine 256.

The storage node 400, which may be a cloud storage node, can communicatewith, or include, various types of storage 500, and the storage node 400may include or be associated with a cloud store scrubbing engine 402. Ingeneral, backups of one or more of the clients 300 can be made bycooperation between the backup server 200 and the client 300, and thebackups can then be stored by the backup server 200 at the storage node400. Subsequently, one or more of the stored backups can be restored toone or more of the clients 300 and/or any other target(s). The backupserver 200, deduplication server 250, clients 300, storage node 400and/or target(s) may be physical machines, virtual machines (VM),containerized machines, or any other suitable type of device. As well,some or all of the storage 500 can be implemented as physical or virtualdevices. Finally, while not specifically illustrated, the storage node400 can include one or more database servers that communicate with oneor more data stores. The database servers can store metadata, such aspointers for example, that point to data stored in the data store(s).

In one alternative to the arrangement of FIG. 1 , the storage node 400can be replaced with, or constitute, a primary storage device thatcommunicates with the backup server 200. The primary storage device, inturn, may communicate with a data domain, which may incorporate the EMCCorp. DataDomain backup technology, that includes one or more storagedevices where backups can be retrievably stored. The storage devices ofthe data domain can include, for example, an onsite retention storagedevice or array, and also an offsite disaster recovery (DR) storagedevice or array.

With particular reference first to the backup server 200, someembodiments may employ a backup server 200 in the form of an EMC Avamarserver or NetWorker server, although the scope of the invention is notlimited to those example servers. The backup server 200 includes abackup application 202 that participates in the generation of backups.Example implementations of the backup application 202 are discussed inmore detail below.

One or more of the nodes, such as client 300, with which the backupserver 200 communicates can take the form of a server. It is notrequired that the server be any particular type of server. One or moreof the client(s) 300 include any of various applications 302 thatgenerate data that is desired to be protected. As well, the client(s)300 can each include a respective instance of a backup client 304 thatgenerally operates in cooperation with the backup application 202 of thebackup server 200 to create one or more backups that include data thatis resident on storage media 306, such as disks for example, of theclient 300. The backups thus created can be communicated to the storagenode 400 for storage and subsequent retrieval.

Example embodiments can be employed in a variety of different devicesand applications, examples of which the following EMC products relatedto backup and deduplication devices, namely, EMC Data Domain, EMCAvamar, and EMC CloudBoost. However, the scope of the invention is notlimited to backup devices and, accordingly, yet other embodiments can beemployed in storage devices such as EMC XtremIO, EMC VNX, EMC VMAX, EMCIsilon, EMC Atmos, and EMC Elastic Cloud Storage. Finally, embodimentsof the invention can be applied to any storage medium, examples of whichinclude, but are not limited to, memory, flash, hard disk and tape.

B. Example Deduplication Domain

With continued reference to the example operating environment of FIG. 1, the deduplication environment 350 may, as noted earlier, include thebackup server 200 and deduplication server 250. In general, thededuplication environment 350 is configured to communicate with a cloudstorage environment which includes, or may consist of, the storage node400. As such, deduplicated backups, which may be user-specificdeduplicated backups, can be communicated by the deduplicationenvironment 350 to the storage node 400.

In general, the deduplication server 250 includes a deduplicationapplication 252 that cooperates with respective deduplication clients308 on one or more of the clients 300 to perform deduplication serviceswith respect to client 300 data that is to be backed up. Creation of thebackup and deduplication can be performed in any order. Thus, creationof the backup may be performed before, after, or at substantially thesame time as, deduplication of the data that is to be backed up.

Thus, in some embodiments, deduplication is cooperatively performed bythe deduplication application 252 and the deduplication clients 308after data has been identified for backup. Once deduplication has beencompleted, the backup application 202 can then cooperate with the backupclients 304 to create a backup of the deduplicated data. Thededuplicated backup(s) can then be communicated to the storage node 400.

In one alternative embodiment, the backup may first be created bycooperation of the backup application 202 and backup clients 304 and,subsequently, deduplication can be performed on that backup bycooperation of the deduplication application 252 and deduplicationclients 308. The deduplicated backup(s) can then be communicated to thestorage node 400.

C. Example Host Configuration

With reference briefly to FIG. 2 , one or more of the backup server 200,deduplication server 250, clients 300, or storage node 400 can take theform of a physical computing device, one example of which is denoted at550. In the example of FIG. 2 , the computing device 550 includes amemory 552, one or more hardware processors 554, non-transitory storagemedia 556, I/O device 558, and data storage 560. As well, one or moreapplications 562 are provided that comprise executable instructions.Such executable instructions can take the form, for example, of one ormore of a backup application, a backup client, or a deduplicationapplication.

D. Salted Content and Some Associated Processes

With reference now to FIG. 3 , details are provided concerning someexamples of salted content and associated processes. In general, anydata can be salted and the scope of the invention is not limited to thesalting of any particular data. As noted herein, the data that is saltedcan be associated with a particular user and may have been generated inconnection with the operation of one or more applications, such as theapplications 302 noted in FIG. 1 , although that is not necessarilyrequired. FIG. 3 illustrates a simple example where a chunk 602 of usercontent is associated with a salt 604 that is based upon the identity ofthe user in connection with whose stream the chunk 602 of user data wasgenerated. Generally, the salt 604 can be based on any piece ofinformation, or combination of pieces of information, that uniquelyidentify a particular user. Thus, in one example, the salt 604 could bederived from, or otherwise based upon, a username-password combination.As a result, the salt 604 is, by its nature, unique and specific to aparticular user. The salt can take the form of one or more chunks orblocks of data.

In any event, once the user-specific salt 604 has been generated, datasuch as the chunk 602 can then be associated with the salt 604. In someparticular embodiments, the chunk 602 is appended, or prepended, withthe salt 604. A hash 606 can then be generated of the chunk 602+salt 604combination. The hash 606 can be generated by any suitable hashingprogram, hash function or algorithm. One example of a hash function thatcan be employed in some embodiments is a cryptographic hash function.

In general, the salt 604 may, in addition to being associated with eachchunk 602 or other piece of data, be associated with other user-specificelements as well. For example, the salt 604 may, in some embodiments,also be recorded against the namespace associated with the user objectthat includes the chunk 602. In the particular example of FIG. 3 , thesalt 604 is associated with the user object 608 that includes thechunk(s) 602. As further indicated, after the salt 604 is associatedwith the user object 608, a hash tree 610, such as a Merkle tree, of thecontents of the user object 608 can be built. In general, the hash tree610, shown in simplified form, represents user object 608 contentsbroken into a list of data blocks of variable size. Because the userobject 608 has been salted, the hash tree 610 is likewise unique to theuser object 608. In the illustrated example, each of the hashes 608 b isa hash of a data block, or group of data blocks, of the user object 608,and the hash 608 a is a hash of the concatenation of the hashes 608 b.This same salting and hashing methodology can be applied to multipleobjects so that a collection of file objects salted using the same saltconstitutes, more generally, a collection of related objects that may beused for a variety of purposes or processes, such as enabling dataisolation, and providing the ability to move all the blocks together, orotherwise handle a group of blocks in the same way.

One advantage of storing the salt 604 in association with the userobject 608 is that the effects of the salt 604 on the chunks 602 canlater be reversed, if desired. For example, this could be accomplishedby removing, or otherwise dissociating, the salt 604 from the chunks 602that are referenced by the user object 608, and then performing a hashof only the chunks 602. The resulting hash would not be associated witha particular user because the salt 604 was removed prior to hashing ofthe user object 608.

Finally, the chunks 602 of a particular user object 608 may all bestored in a common container 612. In some embodiments, the container 612is a contiguous space of storage having a size of about 4.5 MB, althoughother types and sizes of containers can alternatively be used. As notedearlier, each of the chunks 602 can be appended or prepended with a salt604, and the combination of the chunk 602+salt 604 then hashed toproduce a hash 606. Each of the hashes 606 can be associated with thecontainer 612 that includes the chunks 602 from which the hashes 606were respectively derived, as shown in FIG. 3 . In turn, the salt 604can also be associated with each different hash 606 that is created.

As will be appreciated from the present disclosure, including thediscussion of FIGS. 1 and 3 above, the use of user-derived content saltenables the creation of user-level deduplication domains within a shareddeduplication system. Moreover, the deduplication can be performed at arelatively fine level of granularity, such as at an object level forexample. Other useful functionality provided by content salting includesthe ability to determine the amount of backend storage capacity consumedby the objects associated with a user. As a result, show back and chargeback operations can be performed with a relatively high degree ofaccuracy and confidence in terms of establishing the extent to whicheach user in a domain has consumed deduplication services.

With continued attention to FIGS. 1 and 3 , and the correspondingdiscussion, further details are provided concerning some aspects ofcontent salting and associated processes. As noted above, one usefulaspect of content salting is that it enables the determination ofbackend storage consumption by individual users. This determination canbe made in a variety of different ways.

For example, the amount of backend storage capacity consumed by theobjects of a particular user can be determined by keeping a runningtotal of the chunk sizes with which the user salt is associated. Therunning total can be maintained in real time and can account for bothingestion, or intake, of user data chunks and during physical garbagecollection, or removal/deletion of user data chunks. In this way, a nettotal of user data chunks associated with the user salt is maintainedon-the-fly. In at least some embodiments, the mechanism for maintainingthe running total is a salt dependent counter. The salt dependentcounter is incremented for each incoming or ingested user chunkassociated with the user salt, and the salt dependent counter isdecremented for each user chunk associated with the user salt that isdeleted or otherwise handled such that it no longer consumes backendstorage.

Another example of a way to determine the amount of backend storagecapacity consumed by the objects of a particular user involves the useof the user object namespace. In particular, objects associated with aparticular salt can be identified by traversing the object namespace.The size of the live data chunks in the object namespace can be totaled,thus giving the amount of storage capacity consumed by live objectsassociated with a particular user. Because the data chunks identifiedare unique to the salted object(s) of the user, it is unnecessary to‘rehydrate’ the user object, that is, restore the user object from thehashes, and recompute the unique set of hashes for the working set ofdata chunks whose associated storage consumption is being measured.

As a final example of a way to determine the amount of backend storagecapacity consumed by the objects of a particular user, the physical datachunks can be traversed. In this approach, the physical data chunksassociated with one or more salted user objects are traversed and thesizes of the live physical data chunks are totaled to determine theamount of backend storage space consumed by the associated user. As inthe preceding example, the identified data chunks are unique to thesalted object(s) of the user. Consequently, it is unnecessary to‘rehydrate’ the user object and recompute the unique set of hashes forthe working set of data chunks whose associated storage consumption isbeing measured.

As evidenced by the discussion of FIGS. 1 and 3 , for example,embodiments of the invention enable, among other things, accurate andfine-grained user-level backend storage capacity consumption. Whileuser-level deduplication, rather than global deduplication, is employedin at least some of the disclosed example deduplication environments,various benefits provided by the deduplication environment arenonetheless preserved. By way of illustration, various deduplicationinfrastructure resources can be shared among the users. These resourcesmay include, for example, one or more CPUs, I/O performance, memory,networking functionality, and the datacenter footprint.

E. User-Level Data Isolation

The ability of embodiments of the invention to accurately identify, at afine-grained level, the amount of backend storage consumed by the dataof a user provides a variety of related benefits. For example, inaddition to enabling accurate show back and charge back operations,embodiments of the invention also provide for user-level data isolationin the context of a deduplication system or environment that is sharedby multiple users. Among other things, this functionality ensures thatnotwithstanding that two different users in a shared deduplicationdomain may store identical blocks of data, the use of content salts foreach of the respective users ensures that the two identical blocks willnot share the same persistent storage address space.

With reference now to FIG. 4 , details are provided concerninguser-level data isolation. As shown there, a container 650 is providedthat includes a plurality ‘n’ of different logical block addresses(LBA), such as LBAx, LBAy, and LBAn. Because it is possible that userswithin a shared deduplication environment may store one or moreidentical data blocks, those identical data blocks must be stored atdifferent respective LBAs within the container 650 in order to ensurethat the data of each user is isolated from the data of other users inthe same shared deduplication environment.

In more detail, and with reference to the illustrated example, a firstsalt, User1 salt 652, is associated with a first user, and a secondsalt, User2 salt 654, is associated with a second user. Each of thesalts Used salt 652 and User2 salt 654 is used to salt respectivecontent 656 and 658 of the first user and the second user. The saltedcontent 656 and 658 is then stored, respectively, at logical blockaddresses 650 a and 650 b of the container 650, specifically, LBAx andLBAy of the container 650.

In this example, the content 656 and 658, which may each be in the formof a block or group of blocks for example, are identical to each other.However, each of the content 656 and 658 is salted with a respectiveuser specific salt, namely, Used salt 652 and User2 salt 654. Thus, theuse of salts such as User1 salt 652 and User2 salt 654 provides a way touniquely identify, and store in a common container, multiple sets orcollections of content which would otherwise be indistinguishable fromeach other. When the stored data of a user is to be retrieved andrestored to a target, or targets, the data specific to that user can bereadily identified by reference to the user-specific LBAs at which theuser data is stored.

F. User-Level Data Encryption

A further benefit of embodiments of the invention concerns encryption ofuser data. In particular, embodiments of the invention enable encryptionof data on a user basis. Thus, a circumstance where data of a first useris desired to be encrypted, but data of a second user is not to beencrypted, can be readily accommodated, even where the data of bothusers is being processed in a common deduplication environment ordomain. In general, user-level encryption of data in a deduplicationenvironment can be effected by associating a user-specific salt with asystem-wide encryption key. In this way, encrypted user data can beassociated generally with the deduplication environment, andspecifically with the user in the context of that deduplicationenvironment.

In more detail, and with reference now to FIG. 5 , aspects of an examplescheme for implementing user-level data encryption for multiple users ina shared deduplication environment 700 are disclosed. As indicatedthere, multiple user salts, User1 702 and User2 704 for example, caneach appended, or prepended, to a common, or system-wide, encryption key706. The encryption key 706 may be unique to the shared deduplicationenvironment 700. Moreover, because the salts User1 702 and User2 704 areeach user-specific, the encryption key 706+user-level salt combinations708 and 710 are likewise user-specific and can be used to encrypt blocks712 of a user object 714, and blocks 716 of a user object 718. Theencrypted blocks 712 and 716 can then be stored in respective containers720 and 722 for later retrieval and decryption.

G. Further Bases and Uses for Content Salting

As noted herein, various embodiments of the invention provide forsalting content on a user basis. However, the scope of the invention isnot limited to salting of content on a user basis. More generally,content can be salted on one or more additional, or alternative, bases.Accordingly, the scope of the invention should not be construed to belimited to the salting of content on any particular basis, orcombination of bases.

Details are now provided concerning configurations and processes thatinvolve the salting of content on a user-specific and/or other base(s).More particularly, content salting can be implemented in deduplicationdomains that are targeted for tiering to cloud storage, which may alsobe referred to herein as ‘the cloud.’ Among other things, this approachenables the tiering of objects to cloud storage while preservingdeduplication semantics in the cloud storage.

It should be noted that as used herein, the term ‘tiering’ embraces anyprocess, or group of processes, that establish relative priorities orclassifications as among groups of data and/or that cause the storage ofsuch data according to those priorities or classifications. Suchpriorities and classifications can be used, for example, to determinewherein, in a cloud storage system for example, particular data will bestored. As another example, such priorities or classifications can beused to determine, as between primary storage (such as local storage)and secondary storage (such as cloud storage), where and/or howparticular data will be stored.

Salting an object by a property, or properties, such as the retentionperiod noted above, may provide a variety of benefits. For example, thistype of salting may enable the preservation of locality for the set ofobjects in preparation for tiering those objects to a cloud store, suchas, for example, the Amazon Simple Storage Service (S3), Amazon Glacier,OpenStack Swift, Microsoft Azure Storage, Google Cloud Storage, EMCAtmos, or EMC Elastic Cloud Storage.

In more detail, data comes into the storage system, such as the storagenode 400 for example, via a stream or connection. As noted herein, theincoming stream of data is associated, by the storage system forexample, with a user-specific salt and all of the data that comes intothe storage system as part of this stream is salted with theuser-specific salt and stored in a container that is specific to thatdata stream. That is, that particular container can only store data fromthe data stream that created it. Once the data stream fills up acontainer, a new container is created and the process continues. In theevent that a second data stream comes in at the same time as the firstdata stream, a new container for the second data stream is created andthis second stream of data enters the new container with an associatedsalt that is specific to the second data stream.

As is apparent from the foregoing, data locality is preserved becausethe data associated with the same stream and salt is stored in the samecontainer, or set of containers. That is to say, data from differentstreams and with different salts is not co-mingled in the samecontainers. Put another way, each container is specific to, and containsdata from, only one data stream and not from any other data streams.

In the case where there is a need to take existing salted data incontainers and re-salt that data with a new property, such as theretention property discussed above for example, the system applies thesame approach with respect to storage of the re-salted data intocontainers. That is, the re-salted data is written to new containers anddata locality is thus preserved.

Moreover, data can be tiered to cloud storage in various sizes and typesof units. In some embodiments, the unit tiered to the cloud is acontainer, which may be partly or completely full. Thus, since all datastored in containers shares the same properties, one or more of whichare representative of a salt, data locality is preserved regardless ofwhere the data is stored, in the storage system or having been tiered tothe cloud object storage.

As noted herein, salting an object, whether by user and/or by one ormore properties, can provide a variety of benefits. Yet other benefitsattending the use of salted content relate to the tiering of saltedcontent to cloud storage.

By way of example, tiering in the cloud using content salteddeduplication domains enables objects to live or die in cloud objectstores as an atomic unit. This avoids resorting to copy-forward garbagecollection, consolidation or recycling of cloud objects. Theseapproaches are not effective for cloud targets, which are intentionallypriced to penalize recalls to maintain cloud lock-in.

In more detail, and with reference to the context of backup and dataprotection systems, every piece of data that is written to the storagehas an implied expiration period. This is the period in which the datashould be retained in the storage system before it is no longer requiredand can be deleted, and the vacated space reclaimed for use.

There are cases where it is useful to tier certain data sets to a morecost effective storage platform, such as a public cloud object store forexample. This approach may be employed where it is desired to retain thedata for a long period of time, which may be measured in years in somecases. In order to tier data to object stores, it is often desirable topack pieces of data together into large contiguous objects for greatestefficiency. One drawback of this process however is that it results inco-mingling data into the same object.

In particular, the problem with co-mingling data is that differentpieces of the data in an object will be related to different data setswith different expiration periods. Therefore, when data sets expirationperiods elapse and the data can be deleted, it is necessary to read backthe objects that this data was spread across in order to separate thepieces of data that have not expired from the pieces of data that haveexpired. Then, new objects must be written in the cloud object storewith only the data that has not expired, and the objects that containedthe co-mingled data must then be deleted. This process is sometimesreferred to as copy-forward garbage collection, in that live data iscopied to new objects in order to delete and reclaim space from oldobjects that had the co-mingled live data and dead data. Becausecopy-forward garbage collection involves reading back and re-writingdata in order to reclaim space from cloud object stores, it is notcost-effective due to the revenue model employed by public cloudproviders, which charges the user for the amount of data retrieved, thatis, downloaded.

In this regard, embodiments of the invention are advantageous insofar asthey eliminate the need for processes, such as copy-forward garbagecollection, that require users to read back data from storage in orderto reclaim space. In particular, by applying a unique salt to data thatshares the same expiration period, co-mingling of data is avoided. Allpieces of data that share the same salt end up in the same container andit is these containers, which contain pieces of data, that are tiered tothe cloud object store. Once the expiration period elapses for the givensalted data, the entire object in the cloud can be deleted andcopy-forward garbage collection is avoided.

With the foregoing discussion in view, attention is directed now to FIG.6 . As disclosed there, instead of salting content on a user basis, orin addition in addition to salting content on a user basis, salting canbe defined on a set of objects 770 that share a common property, orwhich share multiple common properties. Such properties can include, butare not limited to, an expiration period, object type, object age,object size, or any other metadata concerning an object or group ofobjects.

In the example of FIG. 6 , the objects 770 are salted with a user salt772, as disclosed elsewhere herein. Additionally, this particularexample involves deduplicated backups that are targeted for tiering tothe cloud, the deduplicated backups are part of the same data set andhave the same retention period. Thus, the commonality of retentionperiod can be reflected by the use of an additional salt that is appliedto all the data/backups in the data set that have the same retentionperiod. The additional salt can be applied even if the data sets sharingthe same retention period, and/or other common characteristic(s), areassociated with different respective users. In at least someembodiments, the additional salt is appended to the user salt 772 toform a ‘user salt+monthly retention salt’ 774. The appending of theadditional salt to the user salt 772 can be performed before, or after,the user salt 722 is associated with the file object(s) 770. Asdisclosed elsewhere herein, the combination of the salts 774 and fileobject(s) 770 can then be hashed and the new chunks from the hashingprocess then deposited in a container 776 which can then be copied by adeduplication server and/or application to a cloud store 778, such as byway of a translation layer for example.

As the new chunks are copied to the cloud store 778, they can be markeddead so that they can be removed from local storage and that space canbe reclaimed by a garbage collection process, which may be performed bythe deduplication system. In particular, and with reference to FIG. 6 ,the local version of the copied chunks can be dumped to a localcontainer 780. At or about the same time, references to the copiedchunks in the cloud store can be maintained at the local deduplicationsystem using a data structure representation so that the chunks in thecloud store can be later recalled in the event of an access request froma user concerning the namespace object that represents those chunks.

Finally, the file object 770 that has been salted with salt 774 willexpire according to the conditions of that salt. At that time, the fileobject 770 will be removed from the cloud store and deposited in a cloudstore 782 for deleted items.

As will be apparent from the discussion of FIG. 6 , and the otherdisclosure herein, similar methods to fine-grained recall can be usedif, retrospectively, the retention of an object stored within thededuplication domain is changed such that it needs to be preserved for alonger period of time. In this situation, the specific objects can berecalled from the salted deduplication domain in the cloud andre-written into a newly salted deduplication domain thus creating asubsequent salted deduplication domain ready for tiering to the cloud.As noted above, a data structure representation of the objects can beused to facilitate such a recall process.

In addition to those noted above, yet other benefits attend the tieringof salted content to cloud storage. For example, another benefit ofcontent salting for tiering deduplication domains to the cloud is theability to consume cloud storage using primitive object interfaces suchas S3. As well, with sufficient metadata to describe the structure ofthe salted deduplication domain and the objects it represents in thecloud, it is possible to use range offset instructions provided by thecloud store to recall and reconstruct individual objects, such as a fileor backup for example, contained within the salted deduplication domain.

H. Salted Data Scrubbing in a Cloud Store

With attention now to FIG. 7 , details are provided concerning anarrangement and process for scrubbing data chunks in a cloud store thatincludes one or more salted deduplication domains. In general, scrubbingrefers to any processes for detecting and removing, or correcting, anystored information that has an error or problem. With respect to tieredsalted deduplication domains that reside in cloud storage, it may betime and/or cost prohibitive for a user to recall the stored data, scrubthe recalled data, and then return the cleaned up data store to thecloud. Thus, it would be useful to be able to scrub the stored data atthe cloud and thereby avoid the need for data recall processes.

Accordingly, embodiments of the invention may employ a cloud storescrubbing engine (such as cloud store scrubbing engine 402—see FIG. 1 )to perform out-of-band data scrubbing. As such, the scrubbing functioncan be localized to a compute instance located in, or otherwiseassociated with, the same cloud computing environment that supports thecloud store where the salted deduplication domain(s) is/are located. Insome embodiments, the compute instance can take the form of a virtualmachine (VM), although that is not necessarily required. The computeinstance can be dedicated to the scrubbing function. As well, thecompute instance can be employed on an as-needed or on-demand basis,remaining offline until a scrubbing process for a salted deduplicationdomain is requested.

With particular reference now to FIG. 7 , a scrubbing configuration 750may embrace a deduplication system 752 (or, for example, a deduplicationenvironment 350—FIG. 1 ) that resides at a local premises, such as auser location for example. The deduplication system 752 is configured tocommunicate with a cloud computing environment 754 that includes, amongother things, a cloud store 756 and a scrubbing engine 758.

In operation, a backup can be performed by, or at the direction of, thededuplication system 752 and the backup copy transmitted to the cloudstore 756 for storage and later restoration, if required. Scrubbing ofthe data in the cloud store 756, such as one or more salteddeduplication domains for example, can be performed by the scrubbingengine 758. The scrubbing process can be initiated ad hoc by a user atthe local premises, and/or can be performed according to a particulartime schedule, and/or on any other basis. As well, the scrubbing engine758 can prepare and send to the local premises a report of the actionsperformed in connection with one or more salted deduplication domainslocated at the cloud store 756.

I. Example Computing Devices and Associated Media

The embodiments disclosed herein may include the use of a specialpurpose or general-purpose computer including various computer hardwareor software modules, as discussed in greater detail below. A computermay include a processor and computer storage media carrying instructionsthat, when executed by the processor and/or caused to be executed by theprocessor, perform any one or more of the methods disclosed herein.

As indicated above, embodiments within the scope of the presentinvention also include computer storage media, which are physical mediafor carrying or having computer-executable instructions or datastructures stored thereon. Such computer storage media can be anyavailable physical media that can be accessed by a general purpose orspecial purpose computer.

By way of example, and not limitation, such computer storage media cancomprise hardware such as solid state disk (SSD), RAM, ROM, EEPROM,CD-ROM, flash memory, phase-change memory (“PCM”), or other optical diskstorage, magnetic disk storage or other magnetic storage devices, or anyother hardware storage devices which can be used to store program codein the form of computer-executable instructions or data structures,which can be accessed and executed by a general-purpose orspecial-purpose computer system to implement the disclosed functionalityof the invention. Combinations of the above should also be includedwithin the scope of computer storage media. Such media are also examplesof non-transitory storage media, and non-transitory storage media alsoembraces cloud-based storage systems and structures, although the scopeof the invention is not limited to these examples of non-transitorystorage media.

Computer-executable instructions comprise, for example, instructions anddata which cause a general purpose computer, special purpose computer,or special purpose processing device to perform a certain function orgroup of functions. Although the subject matter has been described inlanguage specific to structural features and/or methodological acts, itis to be understood that the subject matter defined in the appendedclaims is not necessarily limited to the specific features or actsdescribed above. Rather, the specific features and acts disclosed hereinare disclosed as example forms of implementing the claims.

As used herein, the term ‘module’ or ‘component’ can refer to softwareobjects or routines that execute on the computing system. The differentcomponents, modules, engines, and services described herein may beimplemented as objects or processes that execute on the computingsystem, for example, as separate threads. While the system and methodsdescribed herein can be implemented in software, implementations inhardware or a combination of software and hardware are also possible andcontemplated. In the present disclosure, a ‘computing entity’ may be anycomputing system as previously defined herein, or any module orcombination of modules running on a computing system.

In at least some instances, a hardware processor is provided that isoperable to carry out executable instructions for performing a method orprocess, such as the methods and processes disclosed herein. Thehardware processor may or may not comprise an element of other hardware,such as the computing devices and systems disclosed herein.

In terms of computing environments, embodiments of the invention can beperformed in client-server environments, whether network or localenvironments, or in any other suitable environment. Suitable operatingenvironments for at least some embodiments of the invention includecloud computing environments where one or more of a client, server, ortarget virtual machine may reside and operate in a cloud environment.

The present invention may be embodied in other specific forms withoutdeparting from its spirit or essential characteristics. The describedembodiments are to be considered in all respects only as illustrativeand not restrictive. The scope of the invention is, therefore, indicatedby the appended claims rather than by the foregoing description. Allchanges which come within the meaning and range of equivalency of theclaims are to be embraced within their scope.

What is claimed is:
 1. A system, comprising: one or more hardwareprocessors; and a non-transitory storage medium having stored thereininstructions that are executable by the one or more hardware processorsto perform operations comprising: receiving, at a cloud storage site,chunks that each take the form of a hash of a combination that comprisesa plurality of salts and a file object, and one of the salts is aretention salt shared by the chunks, and another of the salts is auser-specific salt; monitoring a time period associated with theretention salt; when the time period has expired, removing the chunksthat include the retention salt; depositing the removed chunks in adeleted items cloud store; identifying live objects associated with theuser-specific salt by traversing an object namespace associated with theuser; and determining an amount of backend storage capacity consumed bylive objects by totaling a size of live data chunks in the objectnamespace.
 2. The system as recited in claim 1, wherein receiving thechunks comprises receiving an object that includes the chunks, andremoving and depositing the chunks comprises removing the object anddepositing the object in the deleted items cloud store.
 3. The system asrecited in claim 1, wherein all the chunks are received from a commoncontainer of a local premises site that is remote from the cloud storagesite.
 4. The system as recited in claim 1, wherein one of the salts is auser-specific salt.
 5. The system as recited in claim 1, whereinremoving and depositing the chunks is performed without the use of acopy-forward garbage collection process.
 6. The system as recited inclaim 1, wherein the chunks are received from a deduplication system. 7.The system as recited in claim 1, wherein the chunks are received at thecloud storage site as part of a tiering process in which the chunks arestored at the cloud storage site according to a particular priority ofthe chunks relative to other chunks that are, or will be, stored at thecloud storage site.
 8. The system as recited in claim 1, wherein thechunks are stored in a content salted deduplication domain at the cloudstorage site.
 9. The system as recited in claim 1, wherein when receivedat the cloud storage site, the chunks are contained in a container andare then stored in an object store of the cloud storage site.
 10. Thesystem as recited in claim 1, wherein the operations further comprisescrubbing chunks stored at the cloud storage site.
 11. A method,comprising: receiving, at a cloud storage site, chunks that each takethe form of a hash of a combination that comprises a plurality of saltsand a file object, and one of the salts is a retention salt shared bythe chunks, and another of the salts is a user-specific salt; monitoringa time period associated with the retention salt; when the time periodhas expired, removing the chunks that include the retention salt;depositing the removed chunks in a deleted items cloud store;identifying live objects associated with the user-specific salt bytraversing an object namespace associated with the user; and determiningan amount of backend storage capacity consumed by live objects bytotaling a size of live data chunks in the object namespace.
 12. Themethod as recited in claim 11, wherein receiving the chunks comprisesreceiving an object that includes the chunks, and removing anddepositing the chunks comprises removing the object and depositing theobject in the deleted items cloud store.
 13. The method as recited inclaim 11, wherein all the chunks are received from a common container ofa local premises site that is remote from the cloud storage site. 14.The method as recited in claim 11, wherein one of the salts is auser-specific salt.
 15. The method as recited in claim 11, whereinremoving and depositing the chunks is performed without the use of acopy-forward garbage collection process.
 16. The method as recited inclaim 11, wherein the chunks are received from a deduplication method.17. The method as recited in claim 11, wherein the chunks are receivedat the cloud storage site as part of a tiering process in which thechunks are stored at the cloud storage site according to a particularpriority of the chunks relative to other chunks that are, or will be,stored at the cloud storage site.
 18. The method as recited in claim 11,wherein the chunks are stored in a content salted deduplication domainat the cloud storage site.
 19. The method as recited in claim 11,wherein when received at the cloud storage site, the chunks arecontained in a container and are then stored in an object store of thecloud storage site.
 20. The method as recited in claim 11, furthercomprising scrubbing chunks stored at the cloud storage site.